<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">
			<a href='/Brand/'><em>分类管理</em></a><span>|</span> <a
				href='javascript:;' class="on"><em>编辑分类</em></a>
		</div>
	</div>
	<form name="myform" id="myform" action="/Brand/edit/"
		onsubmit="return form_submit()" method="post">
		<div class="common-form">
			<table width="100%" class="table_form contentWrap">
				<tr>
					<th width="200"><strong>上级分类：</strong></th>
					<td><select name="brand_cate" id="brand_cate"
						style="width: 200px;">
							<option value="0">请选择上级分类</option>
							<?php echo $select_categorys ?>
					</select><select name=parentid id="parentid" style="width: 200px;">
							<?php echo $basic_categorys ?>
					</select></td>
				</tr>
				<tr>
					<th><strong>分类名称：</strong></th>
					<td><input type="text" name="name" id="name"
						value="<?php echo $Brand_info['BrandCate']['name'] ?>"
						class="input-text"></td>
				</tr>
				<tr>
					<th><strong>分类图片：</strong></th>
					<td><input type="text" name="img" id="img"
						value="<?php echo $Brand_info['BrandCate']['img'] ?>"
						class="input-text"></td>
				</tr>
				<tr>
					<th><strong>颜色：</strong></th>
					<td><input type="text" id="color" name="color"
						value="<?php echo $Brand_info['BrandCate']['color'] ?>"
						class="input-text"><img src="/img/icon/colour.png"
						title="设置标题颜色" width="15" height="16"
						onclick="colorpicker('color_colorpanel','set_Brand_color');"
						style="cursor: hand" /><span id="color_colorpanel"
						style="position: absolute;" class="colorpanel"></span></td>
				</tr>
				<tr>
					<th><strong>标签：</strong></th>
					<td><textarea style="height: 100px; width: 500px;"
							class="inputtext" id="tags" cols="20" rows="2" name="tags"><?php echo $Brand_info['BrandCate']['tags'] ?></textarea></td>
				</tr>
				<tr>
					<th><strong>是否显示HOTS：</strong></th>
					<td><input type="radio" name="is_hots" value="1"<?php
						if($Brand_info['BrandCate']['is_hots']==1){ ?>checked<?php } ?>> 是
						<input type="radio" name="is_hots" value="0"<?php
						if($Brand_info['BrandCate']['is_hots']==0){ ?>checked<?php } ?>>否</td>
				</tr>
				<tr>
					<th><strong>是否显示分类：</strong></th>
					<td><input type="radio" name="status" value="1"<?php
						if($Brand_info['BrandCate']['status']==1){ ?>checked<?php } ?>> 是
						<input type="radio" name="status" value="0"<?php
						if($Brand_info['BrandCate']['status']==0){ ?>checked<?php } ?>>否</td>
				</tr>
			</table>
			<!--table_form_off-->
		</div>
		<div class="bk15"></div>
		<div class="btn">
			<input name="id" type="hidden"
				value="<?php echo $Brand_info['BrandCate']['id'] ?>"> <input
				type="submit" id="dosubmit" class="button" name="dosubmit"
				value="提 交" />
		</div>
	</form>
</body>